package com.zfp.sslserver.component;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringBootConfiguration;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import java.io.File;

/**
 * Created by zfp on 17-11-20.
 * contact : zfpyz2011@gmail.com
 */
@SpringBootConfiguration
public class PathVerify {

//    @Value("${server.ssl.key-store}")
//    private String keyStore;

    @PostConstruct
    public void init() {
//        System.out.println("keyStore:" + keyStore);
//        File f = new File(keyStore);
//        System.out.println("keyStore-AbsolutePath:" + f.getAbsolutePath());
//        System.out.println("keyStore-Exists:" + f.exists());
    }
}
